Showing /app/app/views/admin/usuarios/_form.html.erb where line #47 raised:

undefined local variable or method `role_options_for_select' for #<ActionView::Base:0x0000000000fb68>
Extracted source (around line #48):
46
47
48
49
50
51
              
'.freeze; @output_buffer.append=( f.label :role, 'Perfil de acesso', class: 'block text-sm font-medium text-gray-300 mb-1.5' ); @output_buffer.safe_append='
'.freeze; @output_buffer.append=( f.select :role,
options_for_select(role_options_for_select, usuario.role),
{},
class: 'w-full px-4 py-3 bg-[#0a0a0a] border border-white/10 rounded-xl text-white
focus:outline-none focus:border-[#f97316] focus:ring-1 focus:ring-[#f97316]

Trace of template inclusion: #<ActionView::Template app/views/admin/usuarios/edit.html.erb locals=[]>

Rails.root: /app

Application Trace | Framework Trace | Full Trace

Request

Parameters:

{"id"=>"1"}

Response

Headers:

None